/* 本地备用样式 */
body{
    background-color: #f0f5ff;
}
.hljs {
  padding: 1px;
  background: #1e1e1e;
  border-radius: 4px;
  font-size: 16px;
}
#preview {
  max-width: 980px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
}
#preview a {
    margin: 0 1px;
    text-decoration: none;
    color: #dc322f;
}
#preview a:hover {
    color: #dc322f;
    text-decoration: underline;
}

/* 各大标题样式 */

.markdown-body>h1{
    display: block;
    font-weight: 300;
    background-image: linear-gradient(to right,#fff, #8BC34A, #4CAF50,#4CAF50,#4CAF50, #8BC34A, #FFF);
    background-color: #4CAF50;
    color: #FFF;
    font-size: 1.4em;
    line-height: 2em;
    margin: 14px 10px;
    padding: 10px 0;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px #666;
    text-align: center;
}

.markdown-body>h2{
    display: block;
    font-weight: 200;
    background-image: linear-gradient(to right,#4CAF50, #8BC34A, #8BC34A, #FFF);
    background-color: #4CAF50;
    color: #FFF;
    font-size: 1.2em;
    line-height: 2em;
    margin: 36px 12px 10px 0;
    padding: 8px 10px 8px 15px;
    letter-spacing: 2px;
    border-left: solid #333 6px;
    text-shadow: 1px 1px 1px #666;
}

.markdown-body>h3{
    margin-top: 40px;
    color: #8B2252;
}

.markdown-body>h4{
    font-size: 18px;
    color: #0378bb;
    margin-bottom: 22px;
    border-radius: 4px;
    background-color: #e5f1f8;
    display: inline-block;
    padding: 4px 7px;
}

.markdown-body>h5::before{
    display: block;
    height: 0px;
    content: "▶";
    margin-left: -1.4em;
    opacity: .9;
}
.markdown-body>h5{
    padding-left: 20px;
    color: #10b0a8;
    font-size: 15px;
}

.markdown-body>h6::before{
    display: block;
    height: 4px;
    content: "❦";
    margin-left: -1.0em;
    font: normal 150%/1 Cochin, Georgia, "Times New Roman", serif;
    color: #1E90FF;
}
.markdown-body>h6{
    color: #1E90FF;
    font-size: 15px;
    padding-left: 30px;
    padding-bottom: 8px;
    border-bottom: 2px solid #40B8FA;
}
/**
 * Tables
 */
.markdown-body table{
    border-collapse: collapse;
    margin: 0px auto;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.markdown-body table thead tr {
    background-color: #0398dd;
    color: #ffffff;
    text-align: left;
}

.markdown-body table th,
.markdown-body table td {
    padding: 10px 15px;
}
.markdown-body table td a{
    text-decoration: none;
    color: #4CAF50;
}

.markdown-body table tbody tr {
    border-bottom: 1px solid #dddddd;
}
.markdown-body table tbody tr:hover {
    color: #0398dd;
}

.markdown-body table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.markdown-body table tbody tr:last-of-type {
    border-bottom: 2px solid #0398dd;
}

.markdown-body table tbody tr.active-row {
    font-weight: bold;
    color: #0398dd;
}
.markdown-body table tbody tr:hover{
    background-color: rgba(0, 136, 204, .06);
}

blockquote {
    padding: .5rem 1rem;
    margin: .8rem 0rem;
    line-height: 0px;
    border-left: #5bc0de solid 5px;
    color: #5bc0de;
    background-color: #f4f8fa;
}
blockquote.info {
    border-left: #325924 solid 5px;
    color: #325924;
    background-color: #eff1ec;
}

blockquote.success {
    background-color: #e8f9e8;
    border-color: #50af51;
    color: #50af51;
}

blockquote.danger {
    color: #d9534f;
    background-color: #fdf7f7;
    border-color: #d9534f;
}

blockquote.warning {
    background-color: #fcf8f2;
    border-color: #f0ad4e;
    color: #f0ad4e;
}

blockquote.default {
    border-left: 5px solid #00b8db;
    background-color: #daf1f6;
    color: #00b8db;
}
blockquote.red {
    border-left: 5px solid #ff2442;
    background-color: #fbe9eb;
    color: #ff2442;
}
blockquote.blue {
    border-left: 5px solid #00BFFF;
    background-color: #d0f1fb;
    color: #00BFFF;
}
blockquote.purple {
    border-left: 5px solid #A020F0;
    background-color: #eed7fc;
    color: #A020F0;
}
blockquote.oringe {
    border-left: 5px solid #fd6f35;
    background-color: #fde5db;
    color: #fd6f35;
}
blockquote.purple2 {
    padding: 12px 24px 12px 20px;
    margin-top: 15px;
    font-size: 15px;
    background: #f8f8f8;
    position: relative;
    border-radius: 4px;
    border-left: 5px solid #5e72e4;
}

img{
  width: 100%;
}
p>code,li>code {
    color: #000;
    padding: 3px 6px 2px 6px;
    background-color: #dceee1;
    border: 1px solid #62bc7b;
    margin: 3px;
    border-radius: 2px;
    font-family: Consolas, monospace;
}
pre {
    background-color: #f4f4f4;
    padding: 10px;
    overflow-x: auto;
}
pre .hljs{
    padding: 15px!important;
}
pre>code {
    font-family: Consolas, monospace;
}
/* 滚动条样式 */
::-webkit-scrollbar {
    /*滚动条整体样式*/
    width : 5px;  /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 3px;
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    background   : #5bc0de;
}
::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    background   : #ededed;
}